<template lang="pug">
  el-radio-group(:value="value" @input="$emit('input',$event)" @change="change" size="small" :disabled="readonly")
    el-radio(v-for="item in options" :label="item.value") {{item.label}}
</template>
<script>
export default {
  name: 'radioRender',
  components: {},
  props: ['config', 'editor', 'value', 'readonly', 'options', 'scope'],
  methods: {
    change() {
      this.$emit('change')
    }
  }
}
</script>
<style lang="scss">
</style>
